package com.sq.partner.manager.service;

import java.util.HashMap;
import java.util.List;

import com.sq.partner.manager.common.Result;
import com.sq.partner.manager.mybatis.model.ActirationCardCancel;
import com.sq.partner.manager.util.Page;

public interface ActirationCardCancelService {

    /**
     * 查询库存总量
     * 
     * @param page
     * @return
     * @throws Exception
     */
    public Page<ActirationCardCancel> queryStock(Page<ActirationCardCancel> page)
            throws Exception;

    /**
     * 作废操作 根据list
     * 
     * @param cardDefineIdList
     * @param cardNoList
     * @return
     * @throws Exception
     */
    public Result cardCancelList(List<String> cardDefineIdList,
            List<String> cardNoList) throws Exception;

    /**
     * 作废操作，根据起止号
     * 
     * @param startNo
     * @param endNo
     * @param date
     * @return
     * @throws Exception
     */
    public Result cardCancelBatch(HashMap<String, Object> paramMap)
            throws Exception;

    /**
     * 作废统计查询
     * 
     * @param page
     * @return
     * @throws Exception
     */
    public Page<ActirationCardCancel> queryCancel(
            Page<ActirationCardCancel> page) throws Exception;

    /**
     * 作废明细查询
     * 
     * @param page
     * @return
     * @throws Exception
     */
    public Page<ActirationCardCancel> queryCancelDetail(
            Page<ActirationCardCancel> page) throws Exception;
}
